package com.cl.edu.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Student entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "student")
public class Student implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 5594649977634003355L;
	private Long id;
	private String name;
	private String tel;
	private String mobile;
	private String areaid;
	private String techarea;
	private String sex;
	private String grade;
	private String subject;
	private String time;
	private String info;
	private String sexrequire;
	private String requireinfo;
	private String charge;
	private String date;
	private String introduceNum;//被介绍次数
	private Integer state;
	// Constructors

	/** default constructor */
	public Student() {
	}
	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "name", length = 20)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "tel", length = 40)
	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@Column(name = "mobile", length = 20)
	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Column(name = "areaid", length = 50)
	public String getAreaid() {
		return this.areaid;
	}

	public void setAreaid(String areaid) {
		this.areaid = areaid;
	}

	@Column(name = "techarea", length = 50)
	public String getTecharea() {
		return this.techarea;
	}

	public void setTecharea(String techarea) {
		this.techarea = techarea;
	}

	@Column(name = "sex")
	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	@Column(name = "grade", length = 30)
	public String getGrade() {
		return this.grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	@Column(name = "subject", length = 40)
	public String getSubject() {
		return this.subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	@Column(name = "time", length = 50)
	public String getTime() {
		return this.time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@Column(name = "info", length = 100)
	public String getInfo() {
		return this.info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	@Column(name = "sexrequire")
	public String getSexrequire() {
		return this.sexrequire;
	}

	public void setSexrequire(String sexrequire) {
		this.sexrequire = sexrequire;
	}

	@Column(name = "requireinfo", length = 100)
	public String getRequireinfo() {
		return this.requireinfo;
	}

	public void setRequireinfo(String requireinfo) {
		this.requireinfo = requireinfo;
	}

	@Column(name = "charge", length = 150)
	public String getCharge() {
		return this.charge;
	}

	public void setCharge(String charge) {
		this.charge = charge;
	}
	
	public void setDate(String date) {
		this.date = date;
	}
	@Column(name = "date", length = 20)
	public String getDate() {
		return date;
	}
	@Column(name = "introduce_num")
	public String getIntroduceNum() {
		return introduceNum;
	}

	public void setIntroduceNum(String introduceNum) {
		this.introduceNum = introduceNum;
	}
	@Column(name = "state")
	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}
}